$.ajaxStop(function() {
  <+//stuff to do when an AJAX call is started and no other AJAX calls are in progress+>;
});
<++>